<html>
<head>
    @include('v1.common.meta')
    <link rel="stylesheet" href="{{elixir('css/basicdata.css')}}">
</head>
<body>
<div class="yjs-grid">
    <div class="yjs-grid-box">
        <div class="layui-tab">
            @if(Auth::check())
                <div class="layui-container">
                    @if($view==='addData')
                        {{--新增图文视图--}}
                        <div class="layui-row">
                            <div class="layui-col-md12">
                                <fieldset class="layui-elem-field">
                                    <legend>新增新生信息</legend>
                                    <div class="layui-field-box">
                                        <div class="layui-row hidden-tips">
                                            <div class="layui-col-md12">
                                                <blockquote class="layui-elem-quote">
                                                    温馨提示：新增数据时，存在"<i class="layui-icon">&#xe605;</i>"标识的表单项，建议您自主编辑维护；
                                                </blockquote>
                                            </div>
                                        </div>

                                        <div class="layui-form layui-form-pane" name="newStudentItemForm"
                                             action="javascript:;" method="POST">
                                            <input type="hidden" name="viewType" value="{{$view}}">

                                                基本信息
                                                <hr class="layui-bg-green">
<!--                                                <div class="layui-row">
                                                    <div class="layui-col-md4">
                                                        &nbsp;
                                                    </div>
                                                    <div class="layui-col-md4">
                                                        <img width="150" height="150" src=""
                                                             class="layui-circle layim-msgbox-avatar"
                                                             alt="">
                                                    </div>
                                                    <div class="layui-col-md4">
                                                        &nbsp;
                                                    </div>
                                                </div>-->
<!--                                            <div class="layui-form-item">
                                                <label class="layui-form-label">上传头像</label>
                                                <div class="layui-col-md8">
                                                    <div class="layui-upload-drag" id="studentAvatar">
                                                        <i class="layui-icon">&#xe681;</i>
                                                        <p>点击上传，或将文件拖拽到此处</p>
                                                    </div>
                                                    <img class="layui-upload-img" id="avatar">
                                                </div>
                                            </div>-->


                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">招生编码</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="enrollment_numbering" name="enrollment_numbering"
                                                                       lay-verify="required"
                                                                       placeholder="请输入招生编码"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">考生号</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="exam_code" name="exam_code"
                                                                       lay-verify="required"
                                                                       placeholder="请输入考生号"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">姓名</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="name" name="name"
                                                                       lay-verify="required"
                                                                       placeholder="请输入姓名"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">性别</label>
                                                            <div class="layui-input-inline">
                                                                <input type="radio" name="sex" value="1" title="男" checked>
                                                                <input type="radio" name="sex" value="2" title="女" >
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">联系电话</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="mobile" name="mobile"
                                                                       placeholder="请输入联系电话"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">家庭住址</label>
                                                            <div class="layui-input-inline">
                                                             <textarea type="text" id="address" name="address"
                                                                       class="layui-textarea"></textarea>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">证件类型</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="card_type" name="card_type"
                                                                       placeholder="请输入证件类型"
                                                                       lay-verify="required"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">证件号</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="card_number" name="card_number"
                                                                       placeholder="请输入证件号"
                                                                       lay-verify="required"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">出生日期</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="birthday" name="birthday"
                                                                       placeholder="请输入出生日期"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                生源信息
                                                <hr class="layui-bg-blue">
                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">生源类别</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="original_type" name="original_type"
                                                                       placeholder="请输入生源类别"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">招生类型</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="enrollment_type" name="enrollment_type"
                                                                       placeholder="请输入招生类型"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">报考省市</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="exam_province" name="exam_province"
                                                                       placeholder="请输入报考省市"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">报考区县</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="exam_area" name="exam_area"
                                                                       placeholder="请输入报考区县"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">毕业学校</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="graduated_school" name="graduated_school"
                                                                       placeholder="请输入毕业学校"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">学校类别</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="school_type" name="school_type"
                                                                       placeholder="请输入学校类别"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">成绩</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="score" name="score"
                                                                       placeholder="请输入成绩"
                                                                       lay-verify = "score"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">政治面貌</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="political_status" name="political_status"
                                                                       placeholder="请输入政治面貌"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                招生信息
                                                <hr class="layui-bg-orange">
                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">招生类别</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="enrollment_category" name="enrollment_category"
                                                                       placeholder="请输入招生类别"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">招生代码</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="enrollment_code" name="enrollment_code"
                                                                       placeholder="请输入招生代码"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>


                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">招生目录</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="enrollment_directory" name="enrollment_directory"
                                                                       placeholder="请输入招生目录"
                                                                       lay-verify="required"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label" style="width: 120px;">专业目录代码</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="major_directory_code" name="major_directory_code"
                                                                       placeholder="请输入专业目录代码"
                                                                       lay-verify="required"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">学制类别</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="academic_category" name="academic_category"
                                                                       placeholder="请输入学制类别"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">就读年限</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="read_year" name="read_year"
                                                                       placeholder="请输入就读年限"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">录取性质</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="admission_property" name="admission_property"
                                                                       placeholder="请输入录取性质"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">办学模式</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="school_mode" name="school_mode"
                                                                       placeholder="请输入办学模式"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                家庭信息
                                                <hr class="layui-bg-cyan">
                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">民族</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="ethnic" name="ethnic"
                                                                       placeholder="请输入民族"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">户口性质</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="household" name="household"
                                                                       placeholder="请输入户口性质"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">资助类型</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="support_type" name="support_type"
                                                                       placeholder="请输入资助类型"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                其他信息：
                                                <hr class="layui-bg-green">
                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">招生老师</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="enrollment_teacher" name="enrollment_teacher"
                                                                       placeholder="请输入招生老师"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">备注</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" id="remark" name="remark"
                                                                       placeholder="请输入备注"
                                                                       class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">验证码</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" name="captcha" maxlength="4"
                                                                   placeholder="请输入图片验证码" autocomplete="off"
                                                                   lay-verify = "required"
                                                                   class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md3">
                                                    <div class="layui-form-item">
                                                        <img class="getLVcode" src="{{ captcha_src('mini') }}"
                                                             width="70px"
                                                             height="34px" style="border: 1px solid green;"/>
                                                        <div class="layui-form-mid layui-word-aux">
                                                            点击图片刷新验证码
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md3">
                                                    {{--隐藏提交--}}
                                                    <button id="toolbarSubmit" type="submit" class="layui-btn"
                                                            lay-filter="toolbarEvent" lay-submit style="display: none;">
                                                    </button>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </fieldset>
                            </div>
                        </div>
                    @elseif($view==='viewData')
                        <div class="layui-row">
                            <div class="layui-col-md12">
                                <fieldset class="layui-elem-field">
                                    <legend>查看【{{$itemData['name']}}】新生信息</legend>
                                    <div class="layui-field-box">
                                        <div class="layui-row hidden-tips">
                                            <div class="layui-col-md12">
                                                <blockquote class="layui-elem-quote">
                                                    温馨提示：查看数据时，所有表单项均不可修改。
                                                </blockquote>
                                            </div>
                                        </div>
                                        <div class="layui-form layui-form-pane">
                                            
                                            宿舍钥匙信息
                                            <hr class="layui-bg-green">
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">床位号</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['bed_number']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">楼栋</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['building']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">楼层</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['floor']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">是否为舍长</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['is_manager']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            
                                            基本信息
                                            <hr class="layui-bg-green">
                                            <!--
                                            <div class="layui-row">
                                                <div class="layui-col-md4">
                                                    &nbsp;
                                                </div>
                                                <div class="layui-col-md4">
                                                    <img width="150" height="150" src="{{$itemData['avatar']}}"
                                                         class="layui-circle layim-msgbox-avatar"
                                                         alt="{{$itemData['name']}}">
                                                </div>
                                                <div class="layui-col-md4">
                                                    &nbsp;
                                                </div>
                                            </div>
                                            -->
                                            <div class="layui-row">
<!--                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">招生编码</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['enrollment_numbering']}}" disabled
                                                                   class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>-->
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">考生号</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['exam_code']}}"
                                                                   class="layui-input" id="edit_exam_code">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">姓名</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['name']}}"
                                                                   class="layui-input" id="edit_name">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">性别</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['sex']}}"
                                                                   class="layui-input" id="edit_sex">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">联系电话</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['mobile']}}"
                                                                   class="layui-input" id="edit_mobile">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">家庭住址</label>
                                                        <div class="layui-input-inline">
                                                            <textarea id="edit_address"
                                                                      class="layui-textarea">{{$itemData['address']}}</textarea>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">证件类型</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['card_type']}}"
                                                                   class="layui-input" id="edit_card_type">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">证件号</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['card_number']}}"
                                                                   class="layui-input" id="edit_card_number">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">出生日期</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['birthday']}}"
                                                                   class="layui-input" id="edit_birthday">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>


                                            生源信息
                                            <hr class="layui-bg-blue">
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">生源类别</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['original_type']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">报考省市</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['exam_province']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">招生类型</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['enrollment_type']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">报考区县</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['exam_area']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">毕业学校</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['graduated_school']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">学校类别</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['school_type']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">成绩</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['score']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">政治面貌</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['political_status']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            身体素质信息：
                                            <hr class="layui-bg-red">

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">身高</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['height']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">体重</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['weight']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>


                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">体型</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['body_type']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">身体素质</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['physical_fitness']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>


                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">心理素质</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['psychological_quality']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">病史</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['medical_history']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">血型</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['blood_type']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>



                                            招生信息
                                            <hr class="layui-bg-orange">
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">招生类别</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['enrollment_category']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">招生代码</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['enrollment_code']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>




                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">招生目录</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['enrollment_directory']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label" style="width: 120px;">专业目录代码</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['major_directory_code']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">学制类别</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['academic_category']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">就读年限</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['read_year']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">录取专业</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['admission_major']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">录取性质</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['admission_property']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">办学模式</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['school_mode']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            家庭信息
                                            <hr class="layui-bg-cyan">
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">民族</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['ethnic']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">户口性质</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['household']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">资助类型</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['support_type']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            报到信息
                                            <hr class="layui-bg-green">
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">缴费状态</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['is_pay']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">报到状态</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['is_report']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">是否住宿</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['is_dorm']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">教材领取</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['is_textbook']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">用品领取</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['is_daily_use']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">钥匙领取</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['is_key']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">分配班级</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['class_name']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">分配宿舍</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['dorm_name']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            监护人信息
                                            <hr class="layui-bg-blue">


                                            @foreach($itemData['custodian'] as $item)
                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">监护人称谓</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" value="{{$item['custodian_title']}}"
                                                                       disabled class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">监护人姓名</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" value="{{$item['custodian_name']}}"
                                                                       disabled class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="layui-row">
                                                    <div class="layui-col-md6">
                                                        <div class="layui-form-item">
                                                            <label class="layui-form-label">监护人电话</label>
                                                            <div class="layui-input-inline">
                                                                <input type="text" value="{{$item['custodian_mobile']}}"
                                                                       disabled class="layui-input">
                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>
                                            @endforeach




                                            其他信息：
                                            <hr class="layui-bg-green">
                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">招生老师</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['enrollment_teacher']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">备注</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['remark']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="layui-row">
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">创建时间</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['created_at']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="layui-col-md6">
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">更新时间</label>
                                                        <div class="layui-input-inline">
                                                            <input type="text" value="{{$itemData['updated_at']}}"
                                                                   disabled class="layui-input">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </fieldset>
                            </div>
                        </div>
                    @else
                        {{--视图类型不正确--}}
                        <div class="layui-row">
                            <div class="layui-col-md12">
                                <blockquote class="layui-elem-quote-error">
                                    友情提示：视图类型不正确，无法支持后续操作。
                                </blockquote>
                            </div>
                        </div>
                    @endif
                </div>
            @else
                <div class="layui-container">
                    <div class="layui-row">
                        <div class="layui-col-md12">
                            <blockquote class="layui-elem-quote-error">
                                友情提示：该功能只面向已成功登录系统，并具有相应权限的用户可用。
                            </blockquote>
                        </div>
                    </div>
                </div>
            @endif
        </div>
    </div>
</div>

@include('v1.common.js')
<script src="{{elixir('js/newStudentItem.js')}}"></script>
</body>
<script type="text/html">
    <input type="hidden" id="rspStatus" value="">
    <input type="hidden" id="rspMsg" value="">
</script>
</html>